package org.jaaksi.test.file;import android.app.Activity;import android.os.Bundle;import android.util.Log;/** * Created by Fcy on 2015/10/21. */public class MainActivity extends Activity {    @Override    public void onCreate(Bundle savedInstanceState) {        super.onCreate(savedInstanceState);        setContentView(R.layout.activity_main);        LimitArrayList<String> list = new LimitArrayList<String>();        list.setMax(5);        for (int i = 0; i < 20; i++) {            list.add("第" + i + "条数据");        }        Log.i("fcy", "----------------- list=" + list.toString());    }}